<script>
	import Vue from 'vue'

	export default {
		onLaunch: function() {
			console.log('App Launch');

			this.$store.commit('setToken')
			this.$store.commit('userLogin')
			this.$u.api.getUserinfo()
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		}
	};
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import "utils/colorui.css";
	@import "utils/coloricon.css";
	@import "app.css";
</style>
